<#assign basePath=request.contextPath>
<#include "${basePath}/include.ftl" >
<body>
<div class="layui-container" style="padding: 15px 20px 20px 20px;">
    <form class="layui-form layui-form-pane" action="" id="form">
        <blockquote class="layui-elem-quote layui-quote-nm">
            操作模块：${operlog.title} /
                <#if (operlog.businessType ==1)><button class="layui-btn layui-btn-xs layui-btn-radius">新增</button></#if>
                <#if (operlog.businessType ==2)><button class="layui-btn layui-btn-xs layui-btn-radius layui-btn-normal">修改</button></#if>
                <#if (operlog.businessType ==3)><button class="layui-btn layui-btn-xs layui-btn-radius layui-btn-warm">删除</button></#if>
                <#if (operlog.businessType ==0)><button class="layui-btn layui-btn-xs layui-btn-radius layui-btn-danger">其他</button></#if>
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            登录信息：${operlog.operName} / ${operlog.deptName} / ${operlog.operIp} / ${operlog.operLocation}
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            请求地址：${operlog.operUrl}
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            操作方法：${operlog.method}
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            请求参数：
            <textarea class="layui-textarea" readonly id="operParamFormat" style="height: 200px"></textarea>
            <textarea class="layui-hide" id="operParam" >${operlog.operParam}</textarea>
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            返回状态：
            <#if (operlog.status =='0')><button class="layui-btn layui-btn-xs layui-btn-radius">成功</button></#if>
            <#if (operlog.status =='1')><button class="layui-btn layui-btn-xs layui-btn-radius layui-btn-warm">失败</button></#if>
            <#if (operlog.status !='1' && operlog.status !='0')><button class="layui-btn layui-btn-xs layui-btn-radius layui-btn-danger">未知</button></#if>
        </blockquote>
        <blockquote class="layui-elem-quote layui-quote-nm">
            消息提示：${operlog.errorMsg}
        </blockquote>
    </form>
</div>
</body>
<script type="text/javascript" src="${baseApp}/system/log/detail/operlog_detail.js"></script>
